{% block captcha_widget %}
{% spaceless %}
<div style="margin-bottom: 25px; margin-left: 15px; margin-right: 15px;" class="input-group">
  <span class="input-group-addon">
    <img src="{{ captcha_code }}" alt="" title="captcha" width="{{ captcha_width }}" height="{{ captcha_height }}" />  
  </span>
 {{ form_widget(form, {'attr': { 'autocapitalize': 'off','autocorrect': 'off', 'class' : 'form-control' }}) }}
</div>
{% endspaceless %}
{% endblock %}